package com.inter;

public class Test {
    public static void main(String[] args) {
        PingPangB pangA=new PingPangB("zhangsan",23);
        pangA.teach();
        pangA.speak();
        BasketballA basketballA=new BasketballA("lisi",24);
        basketballA.learn();
        BasketballB basketballB=new BasketballB("wangwu",24);
        basketballB.teach();
    }
}
